<!--
 * @Description: 腾讯视频
 * @Author: zzj
 * @Date: 2021-08-25 14:22:26
 * @LastEditors: zzj
 * @LastEditTime: 2021-08-25 15:06:51
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>腾讯视频</title>
    <style>
        /* < 1280px   990px */
        /* 1280px < screen < 1400px  -1200px */
        /* csreen > 1400px  1400px */
        html{
            font:12px "微软雅黑";
            color: #666;
        }
        body{
            margin: 0;
        }
        ul{
            margin: 0;
            padding: 0;
            list-style: none;
            padding-top: 10px;
        }
        .one{

        }
        .two{
            min-height: 100px;
            background-color: #f4f4ff;
            margin: 0 auto;
        }
        ul.videos::after{
            content: "";
            display: block;
            clear: both;
        }
        ul.videos>li.video{
            float: left;
            margin-bottom: .5em;
            background-color: #f4f4f4;
        }
        @media screen and (max-width:1279px) {
            .two{
                width: 990px;
                background-color: lightpink;
            }
            ul.videos>li.video{
                float: left;
                margin-bottom: .5em;
                background-color: #f4f4f4;
                width: 250px;
                margin-right: 15px;
                height: 200px;
            }
            ul.videos > li.video:first-child{
                width: 460px;
                height: 410px;
            }
            ul.videos > li.video:nth-child(3),
            ul.videos > li.video:nth-child(5){
                margin-right: 0;
            }
            ul.videos > li.video:nth-child(n+6){
                display: none;
            }
        }
        /* 5 */
        
        @media screen and (min-width:1280px) and (max-width:1400px) {
            .two{
                width: 1200px;
                background-color: lightsalmon;
            }
            ul.videos>li.video{
                width: 200px;
                margin-right: 10px;
                height: 200px;
            }
            ul.videos > li.video:first-child{
                width: 570px;
                height: 410px;
            }
            ul.videos > li.video:nth-child(4),
            ul.videos > li.video:nth-child(7){
                margin-right: 0;
            }
            ul.videos > li.video:nth-child(n+8){
                display: none;
            }
        }
        /* 7 */
        @media screen and (min-width:1400px) {
            .two{
                width: 1400px;
                background-color: lightseagreen;
            }
            ul.videos>li.video{
                width: 220px;
                margin-right: 10px;
                height: 200px;
            }
            ul.videos > li.video:first-child{
                width: 480px;
                height: 410px;
            }
            ul.videos > li.video:nth-child(5),
            ul.videos > li.video:nth-child(9){
                margin-right: 0;
            }
        }
        /* 9 */
    </style>
</head>
<body>
    <div class="one">
        <div class="two">
            <ul class="videos">
                <li class="video"></li>
                <li class="video"></li>
                <li class="video"></li>
                <li class="video"></li>
                <li class="video"></li>
                <li class="video"></li>
                <li class="video"></li>
                <li class="video"></li>
                <li class="video"></li>
            </ul>
        </div>
    </div>
</body>
</html>